<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">

    <title>我的订单</title>

    <link rel="stylesheet" href="/movie/web/Public/jquery-weui/lib/weui.min.css">
    <link rel="stylesheet" href="/movie/web/Public/jquery-weui/css/jquery-weui.css">


    <link rel="stylesheet" href="/movie/web/Public/bootstrap/css/bootstrap.min.css">

    <script src="/movie/web/Public/jquery-weui/lib/jquery-2.1.4.js"></script>
    <script src="/movie/web/Public/jquery-weui/js/jquery-weui.js"></script>

    <script src="/movie/web/Public/jquery-weui/js/swiper.js"></script>

    <style>
        .weui_cell:before {
            content: " ";
            position: absolute;
            left: 0;
            right: 0;
            width:auto;
            height: 1px;
            border-top: 1px solid #D9D9D9;
            color: #D9D9D9;
        }
    </style>
</head>
<body>

<!--响应式布局图片-->
<style>
    .center-block {
        display: block;
        margin-right: auto;
        margin-left: auto;
    }

    .img-responsive {
        display: block;
        max-width: 100%;
        height: auto;
    }
</style>
<!-- <img src="img/banner1.png" class="img-responsive center-block" alt="Responsive image"> -->

<style>
    .weui_cell .movie{
        margin-top:20px;
        font-size: 20px;
    }
    .weui_cell{
        color: #BBBBBB;
    }
    .weui_cell_ft{
        margin-top: -80px;
        color: #BBBBBB;
        font-size: 12px;
    }
</style>
<?php if(!empty($list)): if(is_array($list)): foreach($list as $key=>$v): ?><div class="weui_cell">
            <div class="weui_cell_bd weui_cell_primary">
                <p class="movie-name movie"><?php echo ($v['mname']); ?> <?php echo ($v['onum']); ?>张</p>
                <p class="movie-summary"><?php echo ($v['uname']); ?> <?php echo ($v['mlang']); ?> <?php echo ($v['mtime']); ?> <?php echo ($v['stime']); ?>:00</p>
                <p class="movie-description">
                    <?php if(is_array($v["son"]["seat_row"])): foreach($v["son"]["seat_row"] as $k=>$val): echo ($val); ?>排<?php echo ($v['son']['seat_column'][$k]); ?>座<?php endforeach; endif; ?>
                <p class="movie-description">取票码:<?php echo ($v['oid']); ?></p>
            </div>
            <div class="weui_cell_ft">
                <div class="movie-point"><?php echo ($v['status']); ?></div>
            </div>
        </div><?php endforeach; endif; ?>
    <?php else: ?>
    还没有订单哦!<?php endif; ?>
</body>
</html>